package com.sanrenzu.everybodytv.bean.sms.live;

import com.google.gson.annotations.SerializedName;

/**
 * Created by asus on 2016/9/7.
 */
public class LiveBean {
    /**
     * name : ws
     * v : 1
     * def_pc : flv
     * def_mobile : flv
     * hls : {"main_pc":4,"main_mobile":3,"san":{"name":"标清","src":"http://hls.quanmin.tv/live/1939881_L3/playlist.m3u8"},"si":{"name":"高清","src":"http://hls.quanmin.tv/live/1939881_L4/playlist.m3u8"},"wu":{"name":"超清","src":"http://hls.quanmin.tv/live/1939881/playlist.m3u8"}}
     * flv : {"main_pc":4,"main_mobile":3,"san":{"name":"标清","src":"http://flv.quanmin.tv/live/1939881_L3.flv"},"si":{"name":"高清","src":"http://flv.quanmin.tv/live/1939881_L4.flv"},"wu":{"name":"超清","src":"http://flv.quanmin.tv/live/1939881.flv"}}
     */

    @SerializedName("ws")
    private WsBean ws;

    public WsBean getWs() {
        return ws;
    }

    public void setWs(WsBean ws) {
        this.ws = ws;
    }

    public static class WsBean {
        @SerializedName("name")
        private String name;
        @SerializedName("v")
        private int v;
        @SerializedName("def_pc")
        private String defPc;
        @SerializedName("def_mobile")
        private String defMobile;
        /**
         * main_pc : 4
         * main_mobile : 3
         * san : {"name":"标清","src":"http://hls.quanmin.tv/live/1939881_L3/playlist.m3u8"}
         * si : {"name":"高清","src":"http://hls.quanmin.tv/live/1939881_L4/playlist.m3u8"}
         * wu : {"name":"超清","src":"http://hls.quanmin.tv/live/1939881/playlist.m3u8"}
         */

        @SerializedName("hls")
        private HlsBean hls;
        /**
         * main_pc : 4
         * main_mobile : 3
         * san : {"name":"标清","src":"http://flv.quanmin.tv/live/1939881_L3.flv"}
         * si : {"name":"高清","src":"http://flv.quanmin.tv/live/1939881_L4.flv"}
         * wu : {"name":"超清","src":"http://flv.quanmin.tv/live/1939881.flv"}
         */

        @SerializedName("flv")
        private FlvBean flv;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getV() {
            return v;
        }

        public void setV(int v) {
            this.v = v;
        }

        public String getDefPc() {
            return defPc;
        }

        public void setDefPc(String defPc) {
            this.defPc = defPc;
        }

        public String getDefMobile() {
            return defMobile;
        }

        public void setDefMobile(String defMobile) {
            this.defMobile = defMobile;
        }

        public HlsBean getHls() {
            return hls;
        }

        public void setHls(HlsBean hls) {
            this.hls = hls;
        }

        public FlvBean getFlv() {
            return flv;
        }

        public void setFlv(FlvBean flv) {
            this.flv = flv;
        }

        public static class HlsBean {
            @SerializedName("main_pc")
            private int mainPc;
            @SerializedName("main_mobile")
            private int mainMobile;
            /**
             * name : 标清
             * src : http://hls.quanmin.tv/live/1939881_L3/playlist.m3u8
             */

            @SerializedName("3")
            private SanBean san;
            /**
             * name : 高清
             * src : http://hls.quanmin.tv/live/1939881_L4/playlist.m3u8
             */

            @SerializedName("4")
            private SiBean si;
            /**
             * name : 超清
             * src : http://hls.quanmin.tv/live/1939881/playlist.m3u8
             */

            @SerializedName("5")
            private WuBean wu;

            public int getMainPc() {
                return mainPc;
            }

            public void setMainPc(int mainPc) {
                this.mainPc = mainPc;
            }

            public int getMainMobile() {
                return mainMobile;
            }

            public void setMainMobile(int mainMobile) {
                this.mainMobile = mainMobile;
            }

            public SanBean getSan() {
                return san;
            }

            public void setSan(SanBean san) {
                this.san = san;
            }

            public SiBean getSi() {
                return si;
            }

            public void setSi(SiBean si) {
                this.si = si;
            }

            public WuBean getWu() {
                return wu;
            }

            public void setWu(WuBean wu) {
                this.wu = wu;
            }

            public static class SanBean {
                @SerializedName("name")
                private String name;
                @SerializedName("src")
                private String src;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }
            }

            public static class SiBean {
                @SerializedName("name")
                private String name;
                @SerializedName("src")
                private String src;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }
            }

            public static class WuBean {
                @SerializedName("name")
                private String name;
                @SerializedName("src")
                private String src;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }
            }
        }

        public static class FlvBean {
            @SerializedName("main_pc")
            private int mainPc;
            @SerializedName("main_mobile")
            private int mainMobile;
            /**
             * name : 标清
             * src : http://flv.quanmin.tv/live/1939881_L3.flv
             */

            @SerializedName("3")
            private SanBean san;
            /**
             * name : 高清
             * src : http://flv.quanmin.tv/live/1939881_L4.flv
             */

            @SerializedName("4")
            private SiBean si;
            /**
             * name : 超清
             * src : http://flv.quanmin.tv/live/1939881.flv
             */

            @SerializedName("5")
            private WuBean wu;

            public int getMainPc() {
                return mainPc;
            }

            public void setMainPc(int mainPc) {
                this.mainPc = mainPc;
            }

            public int getMainMobile() {
                return mainMobile;
            }

            public void setMainMobile(int mainMobile) {
                this.mainMobile = mainMobile;
            }

            public SanBean getSan() {
                return san;
            }

            public void setSan(SanBean san) {
                this.san = san;
            }

            public SiBean getSi() {
                return si;
            }

            public void setSi(SiBean si) {
                this.si = si;
            }

            public WuBean getWu() {
                return wu;
            }

            public void setWu(WuBean wu) {
                this.wu = wu;
            }

            public static class SanBean {
                @SerializedName("name")
                private String name;
                @SerializedName("src")
                private String src;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }
            }

            public static class SiBean {
                @SerializedName("name")
                private String name;
                @SerializedName("src")
                private String src;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }
            }

            public static class WuBean {
                @SerializedName("name")
                private String name;
                @SerializedName("src")
                private String src;

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }

                public String getSrc() {
                    return src;
                }

                public void setSrc(String src) {
                    this.src = src;
                }
            }
        }
    }

}
